﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="UserLogin" Codebehind="Login.aspx.cs" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    

	<script type="text/javascript">
function SubmitKeyClick(button) 
{    
if (event.keyCode == 13) 
{        
   event.keyCode=9;
   event.returnValue = false;
   document.all[button].click(); 
}
}	
	</script>    
</head>
<body>
    <form id="form1" runat="server">
            
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td style="height: 15px">&nbsp;</td>
  </tr>
  <tr>
    <td height="571" align="center" valign="middle"> 
      <table width="552" height="498" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td width="552" valign="top" background="Include/Images/loginbg.jpg" style="height: 498px">
              
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="109"></td>
              </tr>
              <tr>
                <td><table width="100%" border="0" cellspacing="0" cellpadding="4" height="110" class="p9black">

                      <tr> 
                        <td style="width: 38%">&nbsp;</td>
                        <td width="19%" align="right">用户名称：</td>
                        <td width="40%" align="left">
                            <asp:TextBox ID="txtUserCode" Width="146" runat="server"></asp:TextBox></td>
                        <td width="3%">&nbsp; </td>
                      </tr>
                      <tr> 
                        <td align="center" style="width: 38%">&nbsp;</td>
                        <td width="19%" align="right">密码：</td>
                        <td width="40%" align="left">
                            <asp:TextBox ID="txtPwd" runat="server" Width="146" TextMode="Password"></asp:TextBox></td>
                        <td width="3%">&nbsp; </td>
                      </tr>
                      <tr> 
                        <td align="center" style="width: 38%">&nbsp;</td>
                        <td width="19%" align="right">验证码：</td>
                        <td width="40%" align="left">
                            <table width="155" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td style="width: 90px; height: 26px"><asp:TextBox ID="TextBox1" runat="server" onkeydown="SubmitKeyClick('btnLogin');" Width="90px"></asp:TextBox></td>   
                                    <td style="width:60px ;height: 26px"><asp:ImageButton
                ID="ImageButton1" ImageUrl="~/volidCode.ashx" runat="server" OnClick="ImageButton1_Click" /></td>
                                </tr>
                             </table>
                            </td>
                        <td width="3%"></td>
                      </tr>
                      <tr> 
                        <td height="38" style="width: 28%">&nbsp;</td>
                        <td width="19%" align="right">&nbsp;</td>
                        
                  <td width="40%" align="right">
<table height="20" border="0" cellpadding="0" cellspacing="0" id="TABLE1">
                        <tr>
                          <td  width="88">
                          <asp:Button ID="btnLogin" runat="server" Text="登 录" CssClass="input_button" OnClick="btnLogin_Click" />
                          </td>
                          <td width="62">&nbsp;</td>
                        </tr>
                      </table>
                          </td>
                        <td width="3%">&nbsp; </td>
                      </tr>
                      <tr> 
                        <td height="11" style="width: 28%">&nbsp;</td>
                        <td colspan="2" class="9pv" height="11"><br />
                          <br />
                        </td>
                        <td width="3%" height="11" class="9pv">&nbsp;</td>
                      </tr>
                  </table></td>
              </tr>
            </table>

              

          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>            
            
    </form>
</body>
</html>
